package com.spboot.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author guocb
 * @since 2020-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Shoppingcart implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "Cartid", type = IdType.AUTO)
    private Integer Cartid;

    private Integer Informationid;

    private Integer Userid;

    private Integer Number;

    private Integer Tableid;

    @TableField(exist = false)
    public String name;// 名字

    @TableField(exist = false)
    public String img;// 图片

    @TableField(exist = false)
    public String versiontype;// 版本

    @TableField(exist = false)
    public String colorname;// 颜色

    @TableField(exist = false)
    public String pricea;// 价格

    @TableField(exist = false)
    public String totalprice;// 价格


    public static final String CARTID = "Cartid";

    public static final String INFORMATIONID = "Informationid";

    public static final String USERID = "Userid";

    public static final String NUMBER = "Number";

    public static final String TABLEID = "Tableid";

}
